/**
 * Created by mac1 on 2017/11/10.
 */
var net = require('net');
var server = net.createServer(function (socket) {
  socket.once('data',function (data) {
    socket.write(data);
  });
});
server.listen(8888);